<?php

/**
 * @author shuang
 * @date 2017-6-2 15:41:46
 */
use common\components\MTools;

$images = explode(",", $images);
?>
<?php foreach ($images as $item): ?>
    <div class="image">
        <img src="<?php echo MTools::Qiniu480($item); ?>" onerror="this.src='../images/default.png'">
    </div>
<?php endforeach; ?>